﻿using IDAL;
using Microsoft.EntityFrameworkCore;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class ProfessionalDAL : IProfessionalDAL
    {

        MyDBContext db = new MyDBContext();

        /// <summary>
        /// 医生职称方法下拉
        /// </summary>
        /// <returns></returns>
        public List<Professional> GetProfessionalsShow()
        {
            return db.Set<Professional>().ToList();
        }
    }
}
